﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Edit.ascx.vb" Inherits="Control_Category_Edit" %>
<script type="text/javascript">

    $(function () {

        $(".TextBox:first").focus();
    });
</script>
<asp:UpdatePanel ID="uplCategory" runat="server">
    <ContentTemplate>
       
            <div class="BoxField">
                <div class="HeadTitle">
                    <h3>
                        <asp:Label ID="Label3" runat="server" Text="CHỈNH SỬA CATEGORY" /></h3>
                </div>
                <div class="DivRequired">
                    <span class="fieldRequired">&nbsp;</span>Trường yêu cầu nhập dữ liệu
                </div>
                <div class="Error">
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="#FF3300" />
                </div>
                <div class="DivRow">
                    <div class="DivLabel">
                        <asp:Label ID="lblTitle" CssClass="TextLabel" runat="server" Text="Tiêu đề:" /> <span class="fieldRequired">&nbsp;</span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ControlToValidate="txtTitle" Display="None" 
                            ErrorMessage="Vui lòng nhập tiêu đề"></asp:RequiredFieldValidator>
                    </div>
                    <div class="DivTextBox">
                        <asp:TextBox ID="txtTitle" CssClass="TextBox" runat="server" Text="" />
                    </div>
                </div>
                <div class="DivRow">
		<div  class="DivLabel">
			<asp:Label ID="Label1" CssClass="TextLabel" runat="server" Text="Cấp cha:" />
		</div>
		<div  class="DivTextBox" >
			
            <asp:DropDownList
                ID="ddlParent" CssClass="TextBox" runat="server" Width="253px" 
                Height="20px">
            </asp:DropDownList>

		</div>
		</div>
                <div class="DivRow">
                    <div class="DivLabel">
                        <asp:Label ID="lblParentid" CssClass="TextLabel" runat="server" Text="Mô tả:" />
                    </div>
                    <div class="DivTextBox">
                        <asp:TextBox ID="txtDescription" CssClass="TextBox" runat="server" Text="" 
                            TextMode="MultiLine" Width="250px" Columns="5" Height="150px" />
                    </div>
                </div>
                <div class="DivRow">
                    <div class="DivLabel">
                        &nbsp;&nbsp;&nbsp;</div>
                    <div class="DivTextBox">
                        <asp:Button ID="btnSave" runat="server" Text=" Lưu " CssClass="btn" />
                        <asp:Button ID="btnHuy" CausesValidation="false" runat="server" Text=" Hủy " CssClass="btn" />&nbsp;
                    </div>
                </div>
            </div>
            <div style="display: none">
                <asp:HiddenField ID="hidID" Value="0" runat="server" />
            </div>
    </ContentTemplate>
</asp:UpdatePanel>
